package com.reggie.console.enums;

/**
 * 枚举类，定义用户角色
 *
 * @author yth
 * @since 2023-06-10-16:17
 */
public enum ReggieRole {

    /**
     * 顾客
     */
    CUSTOMER("customer", "顾客"),

    /**
     * 员工
     */
    EMPLOYEE("employee", "员工"),

    /**
     * 管理员-admin
     */
    MANAGER("manager", "管理员");

    private final String code;
    private final String description;

    ReggieRole(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
